package cn.tedu.fresheveryday.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 订单列表vo
 */
@Data
public class OrderListVO {
    private Integer id;
    private String orderId;
    private Integer state;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime created;
    private Double freight;
    private String distId;
    private Double total;
    private List<SubOrderVO> subOrders;
}